﻿CKEDITOR.dialog.add( 'checkbox', function( editor ) {
        return {
                title: editor.lang.uflo.checkboxAndRadio.checkboxTitle,
                minWidth: 300,
                minHeight: 100,
                contents: [
                        {
                        id: 'info',
                        label: editor.lang.uflo.checkboxAndRadio.checkboxTitle,
                        title: editor.lang.uflo.checkboxAndRadio.checkboxTitle,
                        elements: [
								{
				                    id: 'bindingfield',
				                    type: 'select',
									style:"width:280px",
				                    label: editor.lang.uflo.textfield.bindingfiled,
				                    'default': '',
									items:window.formTable.getMasterColumns(),
				                    accessKey: 'N',
				                    setup: function( widget ) {
                                        this.setValue(widget.element.getAttribute( 'bindingfield' ) );
	                                },
	                                commit: function( widget ) {
                                        widget.setData( 'bindingfield', this.getValue() );
	                                }
								}
                        ]
                }
                ]
        };
});